import request from '@/utils/request'

// 新增表单
export function addForm(params) {
  return request({
    url: '/system/dynForm',
    method: 'post',
    data: params
  })
}
// 修改表单
export function editForm(params) {
  return request({
    url: '/system/dynForm',
    method: 'put',
    data: params
  })
}
// 获取表单列表
export function getForm(params) {
  return request({
    url: '/system/dynForm/list',
    method: 'get',
    params: params
  })
}

// 删除表单
export function deleForm(param) {
  return request({
    url: `/system/dynForm/${param}`,
    method: 'delete'
  })
}
